package com.vlong.town.entity.experience;

import java.io.Serializable;

/**
 * @author Assassin
 */
public class Experience implements Serializable {

   /**
	* default SerialVersionUID
	*/
	private static final long serialVersionUID = 1L;

	// Fields

	private Long experienceId;// 主键
	private Long townId;// 城镇id
	private Integer state;// 状态信息-数据状态[0-正常 | 1-删除]
	private Integer status;// 状态信息-文化活动状态[1-已发布]
	private String title;//  基础信息-文化活动标题
	private String content;// 基础信息-文化活动内容
	private String thumbnail;// 基础信息-缩略图
	private String desc;// 基础信息-文化活动简介
	private Long createTime;// 时间信息-发布时间
	private Long updateTime;// 时间信息-更新时间
	
	// Empty Constructor
	public Experience() {
		super();
	}
	
	// Full Constructor
	public Experience(Long experienceId, Long townId, Integer state, Integer status, String title, String content, String thumbnail, String desc, Long createTime, Long updateTime) {
		this.experienceId =  experienceId;
		this.townId =  townId;
		this.state =  state;
		this.status =  status;
		this.title =  title;
		this.content =  content;
		this.thumbnail =  thumbnail;
		this.desc =  desc;
		this.createTime =  createTime;
		this.updateTime =  updateTime;
	}

	// Property accessors

	public Long getExperienceId () {
		return this.experienceId;
	}
	
	public void setExperienceId (Long experienceId) {
		this.experienceId =  experienceId;
	}
	
	public Long getTownId () {
		return this.townId;
	}
	
	public void setTownId (Long townId) {
		this.townId =  townId;
	}
	
	public Integer getState () {
		return this.state;
	}
	
	public void setState (Integer state) {
		this.state =  state;
	}
	
	public Integer getStatus () {
		return this.status;
	}
	
	public void setStatus (Integer status) {
		this.status =  status;
	}
	
	public String getTitle () {
		return this.title;
	}
	
	public void setTitle (String title) {
		this.title =  title;
	}
	
	public String getContent () {
		return this.content;
	}
	
	public void setContent (String content) {
		this.content =  content;
	}
	
	public String getThumbnail () {
		return this.thumbnail;
	}
	
	public void setThumbnail (String thumbnail) {
		this.thumbnail =  thumbnail;
	}
	
	public String getDesc () {
		return this.desc;
	}
	
	public void setDesc (String desc) {
		this.desc =  desc;
	}
	
	public Long getCreateTime () {
		return this.createTime;
	}
	
	public void setCreateTime (Long createTime) {
		this.createTime =  createTime;
	}
	
	public Long getUpdateTime () {
		return this.updateTime;
	}
	
	public void setUpdateTime (Long updateTime) {
		this.updateTime =  updateTime;
	}
	
	@Override
	public String toString () {
		StringBuffer entityStirngBuffer = new StringBuffer();
		entityStirngBuffer.append("experienceId = " +  this.getExperienceId() + ",");
		entityStirngBuffer.append("townId = " +  this.getTownId() + ",");
		entityStirngBuffer.append("state = " +  this.getState() + ",");
		entityStirngBuffer.append("status = " +  this.getStatus() + ",");
		entityStirngBuffer.append("title = " +  this.getTitle() + ",");
		entityStirngBuffer.append("content = " +  this.getContent() + ",");
		entityStirngBuffer.append("thumbnail = " +  this.getThumbnail() + ",");
		entityStirngBuffer.append("desc = " +  this.getDesc() + ",");
		entityStirngBuffer.append("createTime = " +  this.getCreateTime() + ",");
		entityStirngBuffer.append("updateTime = " +  this.getUpdateTime() + ",");
		return entityStirngBuffer.toString();
	}
	
}